home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / files / t_sys5 / unixcpio.gz / unixnet.cpio / INSTALL < prev    next >
Text File  |  1994-07-11  |  2KB  |  63 lines

  1. #!/bin/sh
  2. if [ "$NET" = "" ]
  3. then
  4.     echo "The variable NET must be set to where you want the "
  5.     echo "KA9Q unix NET software to be installed."
  6.     echo "If you are using /bin/sh use the command set NET xxxxx"
  7.     echo "Where xxxxx is the directory path where the net software"
  8.     echo "installed.  If you are using /bin/csh use the command"
  9.     echo " setenv NET xxxxx"
  10.     echo ""
  11.     exit 1
  12. fi
  13. echo "The following directories and files will be created:"
  14. echo "     $NET/bin                         where the program is"
  15. echo "     $NET/public                      where transfer files are"
  16. echo "     $NET/bin/net                     the program"
  17. echo "     $NET/bin/net.debug               the program debug version"
  18. echo "     $NET/startup.net                 the startup file"
  19. echo "     $NET/finger/n6xjj.txt            a finger example file"
  20. echo "     $NET/hosts.net                   the hosts file for so. cal."
  21. echo "     $NET/ftpusers                    what users can ftp in"
  22. echo
  23.  
  24. if [ ! -d "$NET/bin" ]
  25. then
  26.     mkdir $NET/bin
  27. fi
  28. if [ ! -d "$NET/public" ]
  29. then
  30.     mkdir $NET/public
  31. fi
  32. if [ ! -d "$NET/finger" ]
  33. then
  34.     mkdir $NET/finger
  35. fi
  36. if [ ! -f "net.debug" ]
  37. then
  38.     make depend
  39. fi
  40. make 
  41.  
  42. echo 
  43. echo
  44. echo "Copying files into their correct locations"
  45.  
  46. cp net.debug $NET/bin
  47. cp net $NET/bin
  48. cp n6xjj.txt $NET/finger
  49. cp startup.net $NET
  50. cp hosts.net $NET
  51. cp ftpusers $NET
  52.  
  53. echo
  54. echo
  55. echo "The installation of KA9Q net software is complete"
  56. echo "Please edit the $NET/startup.net file for your configuration and"
  57. echo "Amateur call sign.  Edit ftpusers for your group of users, and"
  58. echo "move $NET/finger/n6xjj.txt into $NET/finger/yourcallsign.txt."
  59. echo "Contact a packet person in your area for your current hosts.net"
  60. echo "file.  "
  61.  
  62. exit 0
  63.